/**
 *====================================================
 * 文件名称: EnterpriseFinanceSummaryEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年10月24日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.tatistics.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.member.entity.lexicon.EnterpriseTypeEnum;

/**
 * @ClassName: EnterpriseFinanceSummaryEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年10月24日 下午3:33:24
 */
@Entity
@Table(name = "FIN_ENTERPRISE_FINANCE_SUMMARY")
public class EnterpriseFinanceSummaryEntity {

	/** 融资企业ID */
	@Id
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 融资企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;

	/** 融资金额 */
	@Column(name = "FINANCE_AMOUNT")
	private BigDecimal financeAmount;

	/** 贷款总额 */
	@Column(name = "TOTAL_LOAN_AMOUNT")
	private BigDecimal totalLoanAmount;

	/** 还款总额 */
	@Column(name = "TOTAL_REPAY_AMOUNT")
	private BigDecimal totalRepayAmount;

	/** 抵押总额 */
	@Column(name = "TOTAL_EXCHANGE_AMOUNT")
	private BigDecimal totalExchangeAmount;

	/** 提货笔数 */
	@Column(name = "PICKUP_COUNT")
	private Integer pickupCount;

	/** 进行中项目数 */
	@Column(name = "PROGRESSING")
	private Integer progressing;

	/** 融资总笔数 */
	@Column(name = "FINANCE_COUNT")
	private Integer financeCount;

	/** 延期还款次数 */
	@Column(name = "PICKUP_DELAY")
	private Integer pickupDelay;

	/** 延期计息次数 */
	@Column(name = "INTEREST_DELAY")
	private Integer interestDelay;

	/** 货物异常次数 */
	@Column(name = "ABNORMAL")
	private Integer abnormal;

	/** 赎货次数 */
	@Column(name = "REDEEM")
	private Integer redeem;

	/** 不良处置次数 */
	@Column(name = "BADASSETS")
	private Integer badassets;

	/** 扣货次数 */
	@Column(name = "DETAINED")
	private Integer detained;

	/** 进行中货物总值 */
	@Column(name = "IN_BULKSTOCK_VALUATION")
	private BigDecimal inBulkstockValuation;

	/** 进行中贷款总额 */
	@Column(name = "IN_FINANCE_AMOUNT")
	private BigDecimal inFinanceAmount;

	/** 进行中已放总额 */
	@Column(name = "IN_LOAN_AMOUNT")
	private BigDecimal inLoanAmount;

	/** 进行中已收总额 */
	@Column(name = "IN_RECEIVABLES")
	private BigDecimal inReceivables;

	/** 进行中异常数 */
	@Column(name = "IN_ABNORMAL")
	private Integer inAbnormal;

	/** 进行中授信总额 */
	@Column(name = "IN_CREDIT_QUOTA")
	private BigDecimal inCreditQuota;

	/** 进行中未收总额 */
	@Column(name = "IN_REMIND_AMOUNT")
	private BigDecimal inRemindAmount;

	/** 进行中在押总额 */
	@Column(name = "IN_INCUSTODY_AMOUNT")
	private BigDecimal inIncustodyAmount;

	/** 进行中风险总额 */
	@Column(name = "IN_RISK_AMOUNT")
	private BigDecimal inRiskAmount;

	/** 已关闭项目数 */
	@Column(name = "HIS_FINANCE_COUNT")
	private Integer hisFinanceCount;

	/** 历史贷款总额 */
	@Column(name = "HIS_FINANCE_AMOUNT")
	private BigDecimal hisFinanceAmount;

	/** 历史还款总额 */
	@Column(name = "HIS_RECEIVABLES")
	private BigDecimal hisReceivables;

	/** 历史异常笔数 */
	@Column(name = "HIS_ABNORMAL")
	private Integer hisAbnormal;

	/** 历史异常费用 */
	@Column(name = "HIS_ABNORMAL_AMOUNT")
	private BigDecimal hisAbnormalAmount;
	
	/** 历史异常费用 */
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;
	
	/** 综合授信额度 */
	@Column(name = "CREDIT_LINE")
	private BigDecimal creditLine;
	
	/** 已用授信额度 */
	@Column(name = "CREDIT_LINE_ALREADY")
	private BigDecimal creditLineAlready;
	
	/** 客户类型 0-客户;1-分销商 */
	@Column(name = "ENTERPRISE_TYPE")
	private EnterpriseTypeEnum enterpriseType;
	
	public EnterpriseTypeEnum getEnterpriseType() {
		return enterpriseType;
	}

	public void setEnterpriseType(EnterpriseTypeEnum enterpriseType) {
		this.enterpriseType = enterpriseType;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

	public BigDecimal getCreditLine() {
		return creditLine;
	}

	public void setCreditLine(BigDecimal creditLine) {
		this.creditLine = creditLine;
	}

	public BigDecimal getCreditLineAlready() {
		return creditLineAlready;
	}

	public void setCreditLineAlready(BigDecimal creditLineAlready) {
		this.creditLineAlready = creditLineAlready;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public BigDecimal getFinanceAmount() {
		return financeAmount;
	}

	public void setFinanceAmount(BigDecimal financeAmount) {
		this.financeAmount = financeAmount;
	}

	public BigDecimal getTotalLoanAmount() {
		return totalLoanAmount;
	}

	public void setTotalLoanAmount(BigDecimal totalLoanAmount) {
		this.totalLoanAmount = totalLoanAmount;
	}

	public BigDecimal getTotalRepayAmount() {
		return totalRepayAmount;
	}

	public void setTotalRepayAmount(BigDecimal totalRepayAmount) {
		this.totalRepayAmount = totalRepayAmount;
	}

	public BigDecimal getTotalExchangeAmount() {
		return totalExchangeAmount;
	}

	public void setTotalExchangeAmount(BigDecimal totalExchangeAmount) {
		this.totalExchangeAmount = totalExchangeAmount;
	}

	public Integer getPickupCount() {
		return pickupCount;
	}

	public void setPickupCount(Integer pickupCount) {
		this.pickupCount = pickupCount;
	}

	public Integer getProgressing() {
		return progressing;
	}

	public void setProgressing(Integer progressing) {
		this.progressing = progressing;
	}

	public Integer getFinanceCount() {
		return financeCount;
	}

	public void setFinanceCount(Integer financeCount) {
		this.financeCount = financeCount;
	}

	public Integer getPickupDelay() {
		return pickupDelay;
	}

	public void setPickupDelay(Integer pickupDelay) {
		this.pickupDelay = pickupDelay;
	}

	public Integer getInterestDelay() {
		return interestDelay;
	}

	public void setInterestDelay(Integer interestDelay) {
		this.interestDelay = interestDelay;
	}

	public Integer getAbnormal() {
		return abnormal;
	}

	public void setAbnormal(Integer abnormal) {
		this.abnormal = abnormal;
	}

	public Integer getRedeem() {
		return redeem;
	}

	public void setRedeem(Integer redeem) {
		this.redeem = redeem;
	}

	public Integer getBadassets() {
		return badassets;
	}

	public void setBadassets(Integer badassets) {
		this.badassets = badassets;
	}

	public Integer getDetained() {
		return detained;
	}

	public void setDetained(Integer detained) {
		this.detained = detained;
	}

	public BigDecimal getInBulkstockValuation() {
		return inBulkstockValuation;
	}

	public void setInBulkstockValuation(BigDecimal inBulkstockValuation) {
		this.inBulkstockValuation = inBulkstockValuation;
	}

	public BigDecimal getInFinanceAmount() {
		return inFinanceAmount;
	}

	public void setInFinanceAmount(BigDecimal inFinanceAmount) {
		this.inFinanceAmount = inFinanceAmount;
	}

	public BigDecimal getInLoanAmount() {
		return inLoanAmount;
	}

	public void setInLoanAmount(BigDecimal inLoanAmount) {
		this.inLoanAmount = inLoanAmount;
	}

	public BigDecimal getInReceivables() {
		return inReceivables;
	}

	public void setInReceivables(BigDecimal inReceivables) {
		this.inReceivables = inReceivables;
	}

	public Integer getInAbnormal() {
		return inAbnormal;
	}

	public void setInAbnormal(Integer inAbnormal) {
		this.inAbnormal = inAbnormal;
	}

	public BigDecimal getInCreditQuota() {
		return inCreditQuota;
	}

	public void setInCreditQuota(BigDecimal inCreditQuota) {
		this.inCreditQuota = inCreditQuota;
	}

	public BigDecimal getInRemindAmount() {
		return inRemindAmount;
	}

	public void setInRemindAmount(BigDecimal inRemindAmount) {
		this.inRemindAmount = inRemindAmount;
	}

	public BigDecimal getInIncustodyAmount() {
		return inIncustodyAmount;
	}

	public void setInIncustodyAmount(BigDecimal inIncustodyAmount) {
		this.inIncustodyAmount = inIncustodyAmount;
	}

	public BigDecimal getInRiskAmount() {
		return inRiskAmount;
	}

	public void setInRiskAmount(BigDecimal inRiskAmount) {
		this.inRiskAmount = inRiskAmount;
	}

	public Integer getHisFinanceCount() {
		return hisFinanceCount;
	}

	public void setHisFinanceCount(Integer hisFinanceCount) {
		this.hisFinanceCount = hisFinanceCount;
	}

	public BigDecimal getHisFinanceAmount() {
		return hisFinanceAmount;
	}

	public void setHisFinanceAmount(BigDecimal hisFinanceAmount) {
		this.hisFinanceAmount = hisFinanceAmount;
	}

	public BigDecimal getHisReceivables() {
		return hisReceivables;
	}

	public void setHisReceivables(BigDecimal hisReceivables) {
		this.hisReceivables = hisReceivables;
	}

	public Integer getHisAbnormal() {
		return hisAbnormal;
	}

	public void setHisAbnormal(Integer hisAbnormal) {
		this.hisAbnormal = hisAbnormal;
	}

	public BigDecimal getHisAbnormalAmount() {
		return hisAbnormalAmount;
	}

	public void setHisAbnormalAmount(BigDecimal hisAbnormalAmount) {
		this.hisAbnormalAmount = hisAbnormalAmount;
	}

}
